package com.share.tx.util;

import org.aspectj.lang.ProceedingJoinPoint;
import org.springframework.stereotype.Service;

@Service
public class MyAspect_aspectj {
	
	public Object myAround(ProceedingJoinPoint joinPoint) throws Throwable{
		System.out.println("目标方法：" + joinPoint.getSignature().getName()+ "---->前方法");
		Object obj = joinPoint.proceed();
		System.out.println("目标方法：" + joinPoint.getSignature().getName()+ "---->后方法");
		return obj;
	}

}
